public class VFApexModelController {
    List<SampleApexModel> pageData;
    
    public VFApexModelController(){
        pageData = new List<SampleApexModel>();
        for(integer i=1; i<=10;i++){
           SampleApexModel sam = new SampleApexModel('String 1' + i, 'String 2' + i , i, i*i); 
           pageData.add(sam);
        }
    }
    
    public List<SampleApexModel> getPageData(){
        return pageData;
    }

}